﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAL
{
    public class NonTermCurrent
    {
        #region Variables
        /// <summary>
        /// User Registration Variables
        /// </summary>
        private int _NonTermCurrentID;
        private String _Created;
        private String _Updated;
        private String _Isactive;
        private String _AccountNumber;
        private int _UserID;
        private String _Opendate;
        private Double _Balance;
        private String _Currency;
        private int _InterestRateID;
        private int _LocationID;
        private String _Status;
        private String _Descriptions;
        private String _AccountHolders;
        #endregion

        public NonTermCurrent()
        {
        }

        /// <summary>
        /// Gets or sets the <b>_NonTermCurrentID</b> attribute value.
        /// </summary>
        /// <value>The <b>_NonTermCurrentID</b> attribute value.</value>
        public int NonTermCurrentID
        {
            get
            {
                return _NonTermCurrentID;
                     
            }
            set
            {
                _NonTermCurrentID = value;
            }
        }
        /// <summary>
        /// Gets or sets the <b>_Created</b> attribute value.
        /// </summary>
        /// <value>The <b>_Created</b> attribute value.</value>
        public String Created
        {
            get
            {
                return String.Format("{0:d/M/yyyy HH:mm:ss}", _Created);

            }
            set
            {
                _Created = String.Format("{0:d/M/yyyy HH:mm:ss}", value);
            }
        }
        /// <summary>
        /// Gets or sets the <b>_Updated</b> attribute value.
        /// </summary>
        /// <value>The <b>_Updated</b> attribute value.</value>
        public String Updated
        {
            get
            {
                return String.Format("{0:d/M/yyyy HH:mm:ss}", _Updated);

            }
            set
            {
                _Updated = String.Format("{0:d/M/yyyy HH:mm:ss}", value);
            }
        }
        /// <summary>
        /// Gets or sets the <b>_Isactive</b> attribute value.
        /// </summary>
        /// <value>The <b>_Isactive</b> attribute value.</value>
        public String Isactive
        {
            get
            {

                return _Isactive.Equals("1") ? "1" :"0";

            }
            set
            {
                _Isactive = value;
            }
        }
        /// <summary>
        /// Gets or sets the <b>_AccountNumber</b> attribute value.
        /// </summary>
        /// <value>The <b>_AccountNumber</b> attribute value.</value>
        public String AccountNumber
        {
            get
            {
                return _AccountNumber;

            }
            set
            {
                _AccountNumber = value;
            }
        }
        /// <summary>
        /// Gets or sets the <b>_UserID</b> attribute value.
        /// </summary>
        /// <value>The <b>_UserID</b> attribute value.</value>
        public int UserID
        {
            get
            {
                return _UserID;

            }
            set
            {
                _UserID = value;
            }
        }
        /// <summary>
        /// Gets or sets the <b>_Opendate</b> attribute value.
        /// </summary>
        /// <value>The <b>_Opendate</b> attribute value.</value>
        public String Opendate
        {
            get
            {
                return String.Format("{0:d/M/yyyy HH:mm:ss}", _Opendate);

            }
            set
            {
                _Opendate = String.Format("{0:d/M/yyyy HH:mm:ss}", value);
            }
        }
        /// <summary>
        /// Gets or sets the <b>_Balance</b> attribute value.
        /// </summary>
        /// <value>The <b>_Balance</b> attribute value.</value>
        public Double Balance
        {
            get
            {   
                return _Balance;

            }
            set
            {
                _Balance = value;
            }
        }
        /// <summary>
        /// Gets or sets the <b>_Currency</b> attribute value.
        /// </summary>
        /// <value>The <b>_Currency</b> attribute value.</value>
        public String Currency
        {
            get
            {
                return _Currency;

            }
            set
            {
                _Currency = value;
            }
        }
        /// <summary>
        /// Gets or sets the <b>_InterestRateID</b> attribute value.
        /// </summary>
        /// <value>The <b>_InterestRateID</b> attribute value.</value>
        public int InterestRateID
        {
            get
            {
                return _InterestRateID;

            }
            set
            {
                _InterestRateID = value;
            }
        }
        /// <summary>
        /// Gets or sets the <b>_LocationID</b> attribute value.
        /// </summary>
        /// <value>The <b>_LocationID</b> attribute value.</value>
        public int LocationID
        {
            get
            {
                return _LocationID;

            }
            set
            {
                _LocationID = value;
            }
        }
        /// <summary>
        /// Gets or sets the <b>_Status</b> attribute value.
        /// </summary>
        /// <value>The <b>_Status</b> attribute value.</value>
        public String Status
        {
            get
            {
                return _Status;

            }
            set
            {
                _Status = value;
            }
        }
        /// <summary>
        /// Gets or sets the <b>_Descriptions</b> attribute value.
        /// </summary>
        /// <value>The <b>_Descriptions</b> attribute value.</value>
        public String Descriptions
        {
            get
            {
                return _Descriptions;

            }
            set
            {
                _Descriptions = value;
            }
        }
        /// <summary>
        /// Gets or sets the <b>_AccountHolders</b> attribute value.
        /// </summary>
        /// <value>The <b>_AccountHolders</b> attribute value.</value>
        public String AccountHolders
        {
            get
            {
                return _AccountHolders;

            }
            set
            {
                _AccountHolders = value;
            }
        }
    }
}
